class Solution(object):
    def minBitFlips(self, start, goal):
        ans = 0
        for i in range(31):
            if (start >> i) & 1 != (goal >> i) & 1:
                ans += 1
        return ans